const mongoose = require("mongoose");
mongoose.connect("mongodb://localhost:/test");
mongoose.Promise = Promise;
const Leave = mongoose.model("Leave", {
  auther:String,
  msg:String,
  createData:Date,
});

module.exports = Leave;
